WPTravelEngine\Core\Models\Post\Trip D

Total Complexity 172
Dependencies 5
Dependents 28
Total lines 1,192
Lines of code 632
Logical lines of code 315
Comment lines 389
Methods 62
Properties 5

Methods 62

Method Rating Maintainability Complexity Lines of code
get_services()
A
38 13 68
fsds_content()
A
44 12 38
get_trip_difficulty_term()
A
43 9 47
get_default_trip_facts()
A
45 9 41
__get()
A
52 10 24
get_trip_facts_data()
A
46 9 38
search_in_meta()
A
57 9 15
get_gallery_images()
S
50 7 27
set_primary_package()
S
56 6 20
get_video_gallery()
S
56 5 17
default_package()
S
58 5 16
get_itinerary_data()
S
59 4 14
get_faq_data()
S
59 4 14
search()
S
60 4 14
set_nested_setting()
S
60 4 13
get_featured_image()
S
57 3 16
get_group_size()
S
63 4 10
get_itinerary_chart_labels()
S
62 3 11
is_partially_payable()
S
71 3 5
get_trip_terms()
S
63 3 10
get_inventory()
S
71 2 6
get_overview_content()
S
69 2 7
__construct()
S
68 2 7
get_editor_content()
S
68 2 7
get_tab_section_title()
S
61 1 12
get_map_img_url()
S
78 1 3
get_difficulty_term()
S
72 1 5
is_enabled_image_gallery()
S
75 1 4
get_trip_code()
S
74 1 4
__isset()
S
79 1 3
is_enabled_video_gallery()
S
79 1 3
has_package()
S
80 1 3
packages()
S
82 1 3
get_map_iframe_code()
S
78 1 3
get_trip_facts()
S
71 1 6
has_sale()
S
80 1 3
get_sale_price()
S
80 1 3
get_price()
S
80 1 3
set_setting()
S
79 1 3
get_nested_setting()
S
78 1 3
get_setting()
S
79 1 3
get_global_trip_facts()
S
80 1 3
get_minimum_age()
S
79 1 3
get_trip_duration()
S
79 1 3
get_highlights_content()
S
79 1 3
is_enabled_min_max_participants()
S
79 1 3
get_minimum_participants()
S
79 1 3
get_maximum_participants()
S
79 1 3
is_enabled_min_max_age()
S
79 1 3
get_trip_cutoff_unit()
S
79 1 3
version()
S
82 1 3
get_trip_cutoff_time()
S
79 1 3
is_enabled_cutoff_time()
S
79 1 3
get_maximum_age()
S
79 1 3
get_trip_nights()
S
74 1 4
get_cost_includes_title()
S
75 1 4
get_cost_includes_content()
S
74 1 4
get_cost_includes_data()
S
68 1 8
get_cost_excludes_title()
S
73 1 5
get_cost_excludes_content()
S
72 1 5
get_cost_excludes_data()
S
68 1 8
get_trip_duration_unit()
S
79 1 3